package com.piik.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.piik.common.dto.SocialUserDTO;
import com.piik.common.utils.PageUtils;
import com.piik.mall.member.entity.MemberEntity;
import com.piik.mall.member.vo.MemberLoginVO;
import com.piik.mall.member.vo.MemberReigerVO;

import java.util.Map;

/**
 * 会员
 *
 * @author dpd
 * @email sunlightcs@gmail.com
 * @date 2022-09-28 09:56:47
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberReigerVO vo);

    MemberEntity login(MemberLoginVO vo);

    MemberEntity login(SocialUserDTO dto);

}

